import request from '@/utils/request'
const path = "/api/system"

export function findAdvertByClientname(params) {
    return request({
        url: path + '/advert/',
        method: 'get',
        params
    })
}

export function createAdvert(data) {
    return request({
        url: path + '/advert/createAdvert/',
        method: 'post',
        data
    })
}
export function updateAdvert(data) {
    return request({
        url: path + '/advert/updateAdvert/',
        method: 'post',
        data
    })
}
export function updateAppConfig(data) {
    return request({
        url: path + '/advert/updateAppConfig/',
        method: 'post',
        data
    })
}